package values.item.building
{
	import mapengine.building.ModuleFunctionMapBuilding;
	
	import values.item.BuildingItemValue;
	import values.module.ModuleValue;
	import values.module.ModuleValueList;
	
	public class ModuleFunctionMapBuildingItemValue extends BuildingItemValue
	{
		public function ModuleFunctionMapBuildingItemValue()
		{
			super();
		}
		
		override public function get mapObjectClassRef():Class
		{
			return ModuleFunctionMapBuilding;
		}
		
		public function get moduleValue():ModuleValue
		{
			return ModuleValueList.getByKey(template.params.click_menu.@module);
		}
	}
}